package com.sg.service.impl;

import com.sg.bean.InvitationState;
import com.sg.dao.InvitationStateDao;
import com.sg.service.InvitationStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zh
 * 帖子状态业务逻辑实现
 */
@Service
public class InvitationStateServiceImpl implements InvitationStateService {
    @Autowired
    InvitationStateDao invitationStateDao;
    @Override
    public List<InvitationState> findAll() {
        return invitationStateDao.findAll();
    }

    @Override
    public InvitationState findById(int isId) {
        return invitationStateDao.findById(isId);
    }
}
